﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title></title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="generator" content="" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
    <link href="css/haiersoft.css" rel="stylesheet" type="text/css" media="screen,print" />
    <link href="css/print.css" rel="stylesheet" type="text/css" media="print" />
    <script src="js/jquery-1.10.1.min.js"></script>
    <script src="js/side.js" type="text/javascript"></script>
    <link rel="stylesheet" href="/static/css/common/reset.css" />
    <link rel="stylesheet" href="/static/css/associate.css" />
    <link rel="stylesheet" href="/static/css/ng-pagination.min.css" />
    <link rel="stylesheet" href="/static/css/sweetalert.min.css" />
</head>

<body>
    <div class="wrap_left" id="frmTitle" name="fmTitle" style="display: none;">
        <div id="Logo"></div>
        <script>
            $(function () {
                $(".menu_list dd");
                $(".menu_list dt").click(function () {
                    $(this).toggleClass("open").next().slideToggle("fast");
                });
            });
        </script>
    </div>

    <div class="picBox" onclick="switchSysBar()" id="switchPoint"></div>

    <div class="wrap_right">
        <header>
            <!-- Header -->
            <div id="Header">
                <!-- Head -->
                <div id="Head">

                    <script language="javascript">
                        function showmenu(id) { id.style.visibility = "visible"; }
                        function hidmenu() { UserList.style.visibility = "hidden"; }
                        document.onclick = hidmenu;
                    </script>
                    <div class="user">
                        <a href="javascript:showmenu(UserList)">admin</a>
                        <div id="UserList">
                            <a href="">修改</a>
                            <a href="">注销</a>
                            <a href="">退出</a>
                        </div>
                    </div>
                </div>
                <!-- /Head -->
                <nav>
                    <ul id="Navi">
                        <li><a href="index.html"><img src="images/common/navi01.png" width="30" height="36" alt="主页"><span>主页</span></a></li>
                        <li><a href="enterprise-personal-audit.html"><img src="images/common/navi02.png" width="36" height="36" alt="企业-个人认证审核"><span>企业-个人认证审核</span></a></li>
                        <li><a href="enterprise-book-audit.html"><img src="images/common/navi03.png" width="26" height="36" alt="赞助书审核"><span>赞助书审核</span></a></li>
                        <li class="active"><a href="community-personal-audit.html"><img src="images/common/navi04.png" width="34" height="36" alt="社团-个人认证审核"><span>社团-个人认证审核</span></a></li>
                        <li><a href="community-book-audit.html"><img src="images/common/navi05.png" width="24" height="36" alt="活动书审核"><span>活动书审核</span></a></li>
                        <li><a href="agent-personal-audit.html"><img src="images/common/navi06.png" width="36" height="36" alt="项目管理"><span>学生信息审核</span></a></li>
                        <li><a href="eventlog.html"><img src="images/common/navi07.png" width="34" height="36" alt="系统日志"><span>系统日志</span></a></li>
                        <li><a href=""><img src="images/common/navi08.png" width="34" height="36" alt="项目备份"><span>项目备份</span></a></li>
                    </ul>
                </nav>
            </div>
            <!-- /Header -->
        </header>


        <!-- Contents -->
        <div id="Contents">
            <script type="text/javascript">
                $(function () {
                    $(".select").each(function () {
                        var s = $(this);
                        var z = parseInt(s.css("z-index"));
                        var dt = $(this).children("dt");
                        var dd = $(this).children("dd");
                        var _show = function () { dd.slideDown(200); dt.addClass("cur"); s.css("z-index", z + 1); };
                        var _hide = function () { dd.slideUp(200); dt.removeClass("cur"); s.css("z-index", z); };
                        dt.click(function () { dd.is(":hidden") ? _show() : _hide(); });
                        dd.find("a").click(function () { dt.html($(this).html()); _hide(); });
                        $("body").click(function (i) { !$(i.target).parents(".select").first().is(s) ? _hide() : ""; });
                    })
                })
            </script>
            <!-- TopMain -->
            <div id="TopMain">
                <!-- selectbox -->
                <div class="selectbox floatL mag_r20">
                    <span class="sttl">审核状态：</span>
                    <dl class="select" style="width:200px;">
                        <dt>全部</dt>
                        <dd>
                            <ul>
                                <li><a href="#">全部</a></li>
                                <li><a href="#">未审核</a></li>
                                <li><a href="#">审核未通过</a></li>
                                <li><a href="#">审核已通过</a></li>
                            </ul>
                        </dd>
                    </dl>
                </div>

                <div class="btn_box floatL"><input name="" type="button" value="查询" onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"></div>
                <!-- /btn_box -->
            </div>
            <!-- /TopMain -->
            <!-- MainForm -->
            <div id="MainForm" ng-app="myApp">
                <div class="form_boxA" ng-controller="adminAssoCtrl">
                    <h2>社团个人信息审核</h2>


                    <table cellpadding="0" cellspacing="0">
                        <tr>
                            <th>编号</th>
                            <th>状态</th>
                            <th>注册时间</th>
                            <th>社团名称</th>
                            <th>负责人姓名</th>
                            <th>是否初次审核</th>
                            <th>审核时间</th>
                            <th>管理员</th>
                            <th>操作</th>
                        </tr>
                        <tr ng-repeat="x in names">
                            <td>{{x.userno}}</td>

                            <td>{{x.Status}}</td>
                            <td>{{x.CreateTime}}</td>
                            <td>{{x.Name}}</td>
                            <td>{{x.ChargeName}}</td>
                            <td>{{x.remark}}</td>
                            <td>{{x.remark}}</td>
                            <td>{{x.AuditName}}</td>
                            <td>
                                <button type="button" class="btn btn-default btn-xs" tag="{{x.userno}}" onclick="Look(this, 'ok')">查看</button>
                                <button type="button" class="btn btn-default btn-xs" tag="{{x.userno}}" onclick="Go(this, 'cancel')">拒绝</button>
                                <button type="button" class="btn btn-default btn-xs" tag="{{x.userno}}" onclick="Go(this, 'ok')">通过</button>
                            </td>
                        </tr>
                    </table>
                    <div class="page">
                        <div class="center">
                            <pager page-count="pageCount" current-page="currentPage" on-page-change="onPageChange()" first-text="首页" next-text="下一页" prev-text="上一页" last-text="尾页"></pager>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <!-- /Contents -->
        <!-- /footer -->
        <footer>
            <address>电子邮箱：sales@haiersoft.com  Copyright &copy; 2015 1312 Corporation, All Rights.</address>
        </footer>
        <!-- /footer -->

    </div>
    <!-- /wrap_right -->
    <script>
        function AfteAjax(ctx) {
            window.location.reload();
        }

        function Go(obj, type) {
            var id = $(obj).attr("tag");

            switch (type) {
                case "ok":
                    common.commonAjax({ type: 'Get', url: '/api/admin/UpdateStatus?type=ok&id=' + id + "&roleType=AssInfo", sMethod: AfteAjax, alert: true, loadingCtrl: $("#bodyContent") });
                    break;
                case "cancel":
                    common.commonAjax({ type: 'Get', url: '/api/admin/UpdateStatus?type=cancel&id=' + id + "&roleType=AssInfo", sMethod: AfteAjax, alert: true, loadingCtrl: $("#bodyContent") });
                    break;
            }
        }
        function Look(obj, type) {
            var id = $(obj).attr("tag");
            myWindow = window.open('./student-detail.html?id=' + id, '', 'width=800,height=800');
            myWindow.focus();
        }
    </script>
</body>
</html>


<script type="text/javascript" src="/static/js/ref/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="/static/js/self/common.js"></script>
<script type="text/javascript" src="/static/js/ref/angular.min.js"></script>
<script type="text/javascript" src="/static/js/ref/ng-pagination.min.js"></script>
<script type="text/javascript" src="/static/js/ref/sweetalert.min.js"></script>
<script>

    $("#divHeader").load("/wuc/header.html");
    $("#divFooter").load("/wuc/footer.html");
    $("#divNavigation").load("/wuc/navigation.html");

    var values = {};
    values.Limit = 10;
    values.Start = 1;

    common.CreatePagingCtrl({ url: '/api/Admin/ListStudent', name: 'adminAssoCtrl', pars: values, objType: 'json' });

    function UpdateMessage(obj, type) {
        var pars = {};
        pars.id = $(obj).attr("tag");
        pars.type = type;
        common.commonAjax({ type: 'Post', url: '/api/project/UpdateMessage', data: pars, sMethod: AfterCompleted });
    }

    function AfterCompleted(ctx) {
        if (ctx == null) {
            common.alertMessage("无数据.");
            return;
        }

        common.showMessage("操作成功.", function () { window.location = "systemNotice.html"; });
    }

</script>